package com.whfc.uni.dao;

import com.whfc.uni.entity.CarWashDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarWashDeviceDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CarWashDevice record);

    CarWashDevice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CarWashDevice record);

    List<CarWashDevice> selectList(@Param("deptId") Integer deptId, @Param("name")String name, @Param("deviceType")Integer deviceType);

    CarWashDevice selectBySnAndPlatformAndType(@Param("sn")String sn, @Param("platform")String platform, @Param("deviceType")Integer deviceType);
}